package cn.itsource.mapper;

import cn.itsource.pojo.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper {
    List<Order> loadAll();

    Order loadById(Integer id);

    void add(Order order);

    void update(Order order);
}
